package com.fusion.greenplum.service.impl;

import java.util.List;
import java.util.UUID;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fusion.greenplum.domain.Test;
import com.fusion.greenplum.mapper.TestMapper;
import com.fusion.greenplum.service.TestService;

/**
 * 描述: 档案管理-文件
 * 创建人: 赵兴炎
 * 日期: 2019年8月21日
 */
@Service
@Transactional
public class TestServiceImpl extends ServiceImpl<TestMapper, Test> implements TestService {

	@Override
	public Boolean test() {
		Test test = new Test();
		test.setName(UUID.randomUUID().toString());
		return this.save(test);
	}

	@Override
	public List<Test> list2() {
		return this.list();
	}
	
}
